package ui.activity.home.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.home.biz.CreditCardsBiz;
import ui.activity.home.contract.CreditCardsContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class CreditCardsModule {
    private CreditCardsContract.View view;

    public CreditCardsModule(CreditCardsContract.View view) {
        this.view = view;
    }

    @Provides
    public CreditCardsContract.View provideView() {
        return view;
    }

    @Provides
    public CreditCardsBiz provideBiz() {
        return new CreditCardsBiz();
    }
}